package com.ysucode.dao.log;

import com.ysucode.domain.Log;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper //告诉spring这个接口是mybatis动态代理生成实现类
public interface LogMapper {

    @Insert("insert into sys_log values(null,#{method},#{description},#{status},#{message},now(),#{time},#{ip})")
    Integer addLog(Log log);

}
